package com.zp.drug.mapper;

import com.zp.common.myBatis.core.mapper.BaseMapperPlus;
import com.zp.drug.api.bo.DrugStorageDeptBo;
import com.zp.drug.api.vo.DrugStorageDeptVo;
import com.zp.drug.entity.DrugStorageDept;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 药品库存单位字典Mapper接口
 *
 * @author zhang peng
 * @ date 2023-06-18
 */
@Repository
public interface DrugStorageDeptMapper extends BaseMapperPlus<DrugStorageDeptMapper, DrugStorageDept, DrugStorageDeptVo> {

    /**
     * 以科室id查询对应的药房、药库信息
     *
     * @param bo
     * @return
     */
    List<DrugStorageDeptVo> getDrugVsDeptList (DrugStorageDeptBo bo);

}
